<%-- 
    Document   : addProperty
    Created on : 7 déc. 2011, 07:05:05
    Author     : Sébastien
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Add Property</title>
    </head>
    <body>
        
      <h1>Add a New Property</h1>
      
      <form name="propertyForm" action="addProperty.do" method="POST">

            <label for="type">Type of the Property:</label>
            <select name="type" id="type">
                <option value="house">house</option>
                <option value="apartment">apartment</option>
            </select><br />

            <label for="adress">Address of the Property:</label><br />
            <textarea name="adress" id="adress" rows="2" cols="40"></textarea><br />

            <label for="location">Location:</label>
            <select name="location" id="location">
                <option value="quebec">Quebec</option>
                <option value="ontario">Ontario</option>
            </select><br /><br />

            <label for="numberBedroom">Number of Bedrooms: </label>
            <input type="text" name="numberBedroom" id="numberBedroom" /><br />

            <label for="numberBathroom">Number of Bathrooms: </label>
            <input type="text" name="numberBathroom" id="numberBathroom" /><br />

            <label for="numberOtherRoom">Number of other Rooms: </label>
            <input type="text" name="numberOtherRoom" id="numberOtherRoom" /><br /><br />

            <label for="rent">Rent: </label>
            <input type="text" name="rent" id="rent" /><br /><br />

            <input type="submit" value="Add" name="add" />
            <input type="reset" value="Cancel" name="cancel" />
        </form>
    </body>
</html>
